package com.slofzx.nuoda.evaluation.project.enums;

import com.slofzx.nuoda.common.EnumConfig;
import com.slofzx.nuoda.common.config.Type;
/**
 * 任务类型
 * @author sunhaifeng
 */
@EnumConfig(
        id = "batch-type",
        name = "任务类型"
)
public enum  BatchTypeEnum implements Type {
    CAPACITY_DEMARCATE("capacity_demarcate", "产能标定",1),
    DISCLOSURE_PLAN("disclosure_plan", "规划交底方案",1.5),
    INVEST_PLAN_ADVICE("invest_plan_advice", "投资建议计划",2),
    CAPACITY_BUILD_PLAN("capacity_build_plan", "产能建设框架计划",2.1),
    DISTRIBUTION_PLAN("distribution_plan","配产方案",2.5),
    OTHER("other", "其他",3),

    ;

    /**
     * 标识
     */
    private String id;
    /**
     * 名称
     */
    private String name;
    /**
     * 排序值
     */
    private double sort;

    BatchTypeEnum(String id, String name, double sort) {
        this.id = id;
        this.name = name;
        this.sort = sort;
    }

    @Override
    public String getId() {
        return this.id;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public double getSort() {
        return this.sort;
    }

}
